{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "    <div class=\"bk-root\">\n",
       "        <a href=\"http://bokeh.pydata.org\" target=\"_blank\" class=\"bk-logo bk-logo-small bk-logo-notebook\"></a>\n",
       "        <span id=\"75c75969-bea0-4564-af39-7e895b7c4445\">Loading BokehJS ...</span>\n",
       "    </div>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/javascript": [
       "\n",
       "(function(global) {\n",
       "  function now() {\n",
       "    return new Date();\n",
       "  }\n",
       "\n",
       "  var force = true;\n",
       "\n",
       "  if (typeof (window._bokeh_onload_callbacks) === \"undefined\" || force === true) {\n",
       "    window._bokeh_onload_callbacks = [];\n",
       "    window._bokeh_is_loading = undefined;\n",
       "  }\n",
       "\n",
       "\n",
       "  \n",
       "  if (typeof (window._bokeh_timeout) === \"undefined\" || force === true) {\n",
       "    window._bokeh_timeout = Date.now() + 5000;\n",
       "    window._bokeh_failed_load = false;\n",
       "  }\n",
       "\n",
       "  var NB_LOAD_WARNING = {'data': {'text/html':\n",
       "     \"<div style='background-color: #fdd'>\\n\"+\n",
       "     \"<p>\\n\"+\n",
       "     \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n",
       "     \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n",
       "     \"</p>\\n\"+\n",
       "     \"<ul>\\n\"+\n",
       "     \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n",
       "     \"<li>use INLINE resources instead, as so:</li>\\n\"+\n",
       "     \"</ul>\\n\"+\n",
       "     \"<code>\\n\"+\n",
       "     \"from bokeh.resources import INLINE\\n\"+\n",
       "     \"output_notebook(resources=INLINE)\\n\"+\n",
       "     \"</code>\\n\"+\n",
       "     \"</div>\"}};\n",
       "\n",
       "  function display_loaded() {\n",
       "    if (window.Bokeh !== undefined) {\n",
       "      var el = document.getElementById(\"75c75969-bea0-4564-af39-7e895b7c4445\");\n",
       "      el.textContent = \"BokehJS \" + Bokeh.version + \" successfully loaded.\";\n",
       "    } else if (Date.now() < window._bokeh_timeout) {\n",
       "      setTimeout(display_loaded, 100)\n",
       "    }\n",
       "  }\n",
       "\n",
       "  function run_callbacks() {\n",
       "    window._bokeh_onload_callbacks.forEach(function(callback) { callback() });\n",
       "    delete window._bokeh_onload_callbacks\n",
       "    console.info(\"Bokeh: all callbacks have finished\");\n",
       "  }\n",
       "\n",
       "  function load_libs(js_urls, callback) {\n",
       "    window._bokeh_onload_callbacks.push(callback);\n",
       "    if (window._bokeh_is_loading > 0) {\n",
       "      console.log(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n",
       "      return null;\n",
       "    }\n",
       "    if (js_urls == null || js_urls.length === 0) {\n",
       "      run_callbacks();\n",
       "      return null;\n",
       "    }\n",
       "    console.log(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n",
       "    window._bokeh_is_loading = js_urls.length;\n",
       "    for (var i = 0; i < js_urls.length; i++) {\n",
       "      var url = js_urls[i];\n",
       "      var s = document.createElement('script');\n",
       "      s.src = url;\n",
       "      s.async = false;\n",
       "      s.onreadystatechange = s.onload = function() {\n",
       "        window._bokeh_is_loading--;\n",
       "        if (window._bokeh_is_loading === 0) {\n",
       "          console.log(\"Bokeh: all BokehJS libraries loaded\");\n",
       "          run_callbacks()\n",
       "        }\n",
       "      };\n",
       "      s.onerror = function() {\n",
       "        console.warn(\"failed to load library \" + url);\n",
       "      };\n",
       "      console.log(\"Bokeh: injecting script tag for BokehJS library: \", url);\n",
       "      document.getElementsByTagName(\"head\")[0].appendChild(s);\n",
       "    }\n",
       "  };var element = document.getElementById(\"75c75969-bea0-4564-af39-7e895b7c4445\");\n",
       "  if (element == null) {\n",
       "    console.log(\"Bokeh: ERROR: autoload.js configured with elementid '75c75969-bea0-4564-af39-7e895b7c4445' but no matching script tag was found. \")\n",
       "    return false;\n",
       "  }\n",
       "\n",
       "  var js_urls = [\"https://cdn.pydata.org/bokeh/release/bokeh-0.12.5.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.5.min.js\"];\n",
       "\n",
       "  var inline_js = [\n",
       "    function(Bokeh) {\n",
       "      Bokeh.set_log_level(\"info\");\n",
       "    },\n",
       "    \n",
       "    function(Bokeh) {\n",
       "      \n",
       "    },\n",
       "    \n",
       "    function(Bokeh) {\n",
       "      \n",
       "      document.getElementById(\"75c75969-bea0-4564-af39-7e895b7c4445\").textContent = \"BokehJS is loading...\";\n",
       "    },\n",
       "    function(Bokeh) {\n",
       "      console.log(\"Bokeh: injecting CSS: https://cdn.pydata.org/bokeh/release/bokeh-0.12.5.min.css\");\n",
       "      Bokeh.embed.inject_css(\"https://cdn.pydata.org/bokeh/release/bokeh-0.12.5.min.css\");\n",
       "      console.log(\"Bokeh: injecting CSS: https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.5.min.css\");\n",
       "      Bokeh.embed.inject_css(\"https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.5.min.css\");\n",
       "    }\n",
       "  ];\n",
       "\n",
       "  function run_inline_js() {\n",
       "    \n",
       "    if ((window.Bokeh !== undefined) || (force === true)) {\n",
       "      for (var i = 0; i < inline_js.length; i++) {\n",
       "        inline_js[i](window.Bokeh);\n",
       "      }if (force === true) {\n",
       "        display_loaded();\n",
       "      }} else if (Date.now() < window._bokeh_timeout) {\n",
       "      setTimeout(run_inline_js, 100);\n",
       "    } else if (!window._bokeh_failed_load) {\n",
       "      console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n",
       "      window._bokeh_failed_load = true;\n",
       "    } else if (force !== true) {\n",
       "      var cell = $(document.getElementById(\"75c75969-bea0-4564-af39-7e895b7c4445\")).parents('.cell').data().cell;\n",
       "      cell.output_area.append_execute_result(NB_LOAD_WARNING)\n",
       "    }\n",
       "\n",
       "  }\n",
       "\n",
       "  if (window._bokeh_is_loading === 0) {\n",
       "    console.log(\"Bokeh: BokehJS loaded, going straight to plotting\");\n",
       "    run_inline_js();\n",
       "  } else {\n",
       "    load_libs(js_urls, function() {\n",
       "      console.log(\"Bokeh: BokehJS plotting callback run at\", now());\n",
       "      run_inline_js();\n",
       "    });\n",
       "  }\n",
       "}(this));"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import numpy as np\n",
    "from bokeh.plotting import figure, show, output_notebook\n",
    "from bokeh.palettes import Set3_12\n",
    "\n",
    "output_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## algorithm"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def bresenham(x0, y0, x1, y1, color, canvas):\n",
    "    # swap major and minor axis\n",
    "    if abs(y0 - y1) > abs(x0 - x1):\n",
    "        x0, y0, x1, y1 = y0, x0, y1, x1\n",
    "        canvas = canvas.T\n",
    "    \n",
    "    # swap x-axis direction\n",
    "    if x0 > x1:\n",
    "        x0, y0, x1, y1 = x1, y1, x0, y0\n",
    "        \n",
    "    # initialize\n",
    "    dx, dy = abs(x0 - x1), abs(y0 - y1)\n",
    "    dz = 1 if y0 <= y1 else -1\n",
    "    p = 2 * dy - dx\n",
    "    \n",
    "    # draw\n",
    "    while x0 <= x1:\n",
    "        canvas[y0, x0] = color\n",
    "\n",
    "        if p > 0:\n",
    "            p -= 2 * dx\n",
    "            y0 += dz\n",
    "        p += 2 * dy\n",
    "        x0 += 1"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## plot"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def plot(canvas):\n",
    "    w, h = canvas.shape\n",
    "    \n",
    "    plot = figure(x_range=(0, w - 1), y_range=(0, h - 1))\n",
    "    plot.grid.visible = False\n",
    "    plot.axis.visible = False\n",
    "    image = plot.image([canvas], \n",
    "                       x=0, y=0, dw=w - 1, dh=h - 1,\n",
    "                       palette=['#000000'] + Set3_12)\n",
    "    \n",
    "    show(plot)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "n = 50\n",
    "canvas = np.zeros((n, n), dtype=int)\n",
    "\n",
    "# 8 basic lines\n",
    "m = n // 2\n",
    "bresenham(m, m, n-1, m+10, 1, canvas)\n",
    "bresenham(m, m, n-1, m-10, 2, canvas)\n",
    "bresenham(m, m, m+10, n-1, 3, canvas)\n",
    "bresenham(m, m, m+10, 0, 4, canvas)\n",
    "bresenham(0, m+10, m, m, 5, canvas)\n",
    "bresenham(0, m-10, m, m, 6, canvas)\n",
    "bresenham(m-10, n-1, m, m, 7, canvas)\n",
    "bresenham(m-10, 0, m, m, 8, canvas)\n",
    "bresenham(m, m, m, m, 0, canvas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "    <div class=\"bk-root\">\n",
       "        <div class=\"bk-plotdiv\" id=\"855f1956-4e27-49a8-993e-497f864e1257\"></div>\n",
       "    </div>\n",
       "<script type=\"text/javascript\">\n",
       "  \n",
       "  (function(global) {\n",
       "    function now() {\n",
       "      return new Date();\n",
       "    }\n",
       "  \n",
       "    var force = false;\n",
       "  \n",
       "    if (typeof (window._bokeh_onload_callbacks) === \"undefined\" || force === true) {\n",
       "      window._bokeh_onload_callbacks = [];\n",
       "      window._bokeh_is_loading = undefined;\n",
       "    }\n",
       "  \n",
       "  \n",
       "    \n",
       "    if (typeof (window._bokeh_timeout) === \"undefined\" || force === true) {\n",
       "      window._bokeh_timeout = Date.now() + 0;\n",
       "      window._bokeh_failed_load = false;\n",
       "    }\n",
       "  \n",
       "    var NB_LOAD_WARNING = {'data': {'text/html':\n",
       "       \"<div style='background-color: #fdd'>\\n\"+\n",
       "       \"<p>\\n\"+\n",
       "       \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n",
       "       \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n",
       "       \"</p>\\n\"+\n",
       "       \"<ul>\\n\"+\n",
       "       \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n",
       "       \"<li>use INLINE resources instead, as so:</li>\\n\"+\n",
       "       \"</ul>\\n\"+\n",
       "       \"<code>\\n\"+\n",
       "       \"from bokeh.resources import INLINE\\n\"+\n",
       "       \"output_notebook(resources=INLINE)\\n\"+\n",
       "       \"</code>\\n\"+\n",
       "       \"</div>\"}};\n",
       "  \n",
       "    function display_loaded() {\n",
       "      if (window.Bokeh !== undefined) {\n",
       "        var el = document.getElementById(\"855f1956-4e27-49a8-993e-497f864e1257\");\n",
       "        el.textContent = \"BokehJS \" + Bokeh.version + \" successfully loaded.\";\n",
       "      } else if (Date.now() < window._bokeh_timeout) {\n",
       "        setTimeout(display_loaded, 100)\n",
       "      }\n",
       "    }\n",
       "  \n",
       "    function run_callbacks() {\n",
       "      window._bokeh_onload_callbacks.forEach(function(callback) { callback() });\n",
       "      delete window._bokeh_onload_callbacks\n",
       "      console.info(\"Bokeh: all callbacks have finished\");\n",
       "    }\n",
       "  \n",
       "    function load_libs(js_urls, callback) {\n",
       "      window._bokeh_onload_callbacks.push(callback);\n",
       "      if (window._bokeh_is_loading > 0) {\n",
       "        console.log(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n",
       "        return null;\n",
       "      }\n",
       "      if (js_urls == null || js_urls.length === 0) {\n",
       "        run_callbacks();\n",
       "        return null;\n",
       "      }\n",
       "      console.log(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n",
       "      window._bokeh_is_loading = js_urls.length;\n",
       "      for (var i = 0; i < js_urls.length; i++) {\n",
       "        var url = js_urls[i];\n",
       "        var s = document.createElement('script');\n",
       "        s.src = url;\n",
       "        s.async = false;\n",
       "        s.onreadystatechange = s.onload = function() {\n",
       "          window._bokeh_is_loading--;\n",
       "          if (window._bokeh_is_loading === 0) {\n",
       "            console.log(\"Bokeh: all BokehJS libraries loaded\");\n",
       "            run_callbacks()\n",
       "          }\n",
       "        };\n",
       "        s.onerror = function() {\n",
       "          console.warn(\"failed to load library \" + url);\n",
       "        };\n",
       "        console.log(\"Bokeh: injecting script tag for BokehJS library: \", url);\n",
       "        document.getElementsByTagName(\"head\")[0].appendChild(s);\n",
       "      }\n",
       "    };var element = document.getElementById(\"855f1956-4e27-49a8-993e-497f864e1257\");\n",
       "    if (element == null) {\n",
       "      console.log(\"Bokeh: ERROR: autoload.js configured with elementid '855f1956-4e27-49a8-993e-497f864e1257' but no matching script tag was found. \")\n",
       "      return false;\n",
       "    }\n",
       "  \n",
       "    var js_urls = [];\n",
       "  \n",
       "    var inline_js = [\n",
       "      function(Bokeh) {\n",
       "        (function() {\n",
       "          var fn = function() {\n",
       "            var docs_json = {\"e701d1b5-a1f6-4a8d-866d-58fd1f6e50c4\":{\"roots\":{\"references\":[{\"attributes\":{\"palette\":[\"#000000\",\"#8dd3c7\",\"#ffffb3\",\"#bebada\",\"#fb8072\",\"#80b1d3\",\"#fdb462\",\"#b3de69\",\"#fccde5\",\"#d9d9d9\",\"#bc80bd\",\"#ccebc5\",\"#ffed6f\"]},\"id\":\"0ddc5ac7-1700-47d2-9fce-1704cdf19a33\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"color_mapper\":{\"id\":\"1401dd0b-10fd-4296-a7c4-7301b7871a06\",\"type\":\"LinearColorMapper\"},\"dh\":{\"units\":\"data\",\"value\":49},\"dw\":{\"units\":\"data\",\"value\":49},\"image\":{\"field\":\"image\"},\"x\":{\"value\":0},\"y\":{\"value\":0}},\"id\":\"c88f7751-0d67-4a0f-82df-4e51d48bcdc4\",\"type\":\"Image\"},{\"attributes\":{\"palette\":[\"#000000\",\"#8dd3c7\",\"#ffffb3\",\"#bebada\",\"#fb8072\",\"#80b1d3\",\"#fdb462\",\"#b3de69\",\"#fccde5\",\"#d9d9d9\",\"#bc80bd\",\"#ccebc5\",\"#ffed6f\"]},\"id\":\"1401dd0b-10fd-4296-a7c4-7301b7871a06\",\"type\":\"LinearColorMapper\"},{\"attributes\":{},\"id\":\"f635ab23-4d5d-4de3-bd80-67b760431049\",\"type\":\"ToolEvents\"},{\"attributes\":{},\"id\":\"ed1572c7-a698-4d5a-9049-7be7b39273a1\",\"type\":\"BasicTicker\"},{\"attributes\":{\"below\":[{\"id\":\"29257183-c342-42f0-925c-163295291164\",\"type\":\"LinearAxis\"}],\"left\":[{\"id\":\"97ec3cf0-15ed-4d7d-9577-8e0b5913970d\",\"type\":\"LinearAxis\"}],\"renderers\":[{\"id\":\"29257183-c342-42f0-925c-163295291164\",\"type\":\"LinearAxis\"},{\"id\":\"68ef0db7-4645-4278-99d1-e1149231d538\",\"type\":\"Grid\"},{\"id\":\"97ec3cf0-15ed-4d7d-9577-8e0b5913970d\",\"type\":\"LinearAxis\"},{\"id\":\"2e123888-99f0-4c9b-b8b3-72e4ac9584a7\",\"type\":\"Grid\"},{\"id\":\"78f2693f-e980-4a32-971e-5428a164fbfe\",\"type\":\"BoxAnnotation\"},{\"id\":\"ea7ff385-81ae-4dd1-b67f-b8bccd232e9a\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"ed9ddfee-8286-4ff3-8ad2-0cb12b65640c\",\"type\":\"Title\"},\"tool_events\":{\"id\":\"f635ab23-4d5d-4de3-bd80-67b760431049\",\"type\":\"ToolEvents\"},\"toolbar\":{\"id\":\"9f6850c8-011a-42ce-8767-f75c26d53084\",\"type\":\"Toolbar\"},\"x_range\":{\"id\":\"33da8045-958d-41ec-99ad-b169967798d3\",\"type\":\"Range1d\"},\"y_range\":{\"id\":\"c5cd6677-5360-4007-823c-f32b5317c688\",\"type\":\"Range1d\"}},\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"data_source\":{\"id\":\"86cc6e78-7c1e-4bf0-a332-c331d950e4b3\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"206b8ea4-95c1-47fb-ac61-f61c02cfca5d\",\"type\":\"Image\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"c88f7751-0d67-4a0f-82df-4e51d48bcdc4\",\"type\":\"Image\"},\"selection_glyph\":null},\"id\":\"ea7ff385-81ae-4dd1-b67f-b8bccd232e9a\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"ed1572c7-a698-4d5a-9049-7be7b39273a1\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"68ef0db7-4645-4278-99d1-e1149231d538\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"f9928394-a69c-4d78-8bbb-02f6824c8c18\",\"type\":\"PanTool\"},{\"id\":\"683cc5bd-9ed1-4d59-9cc7-b9cb4a1218b2\",\"type\":\"WheelZoomTool\"},{\"id\":\"d8625d8b-1bb1-48a2-ac15-99c3ca2d520d\",\"type\":\"BoxZoomTool\"},{\"id\":\"4c74b5c1-f385-47f8-a14f-6fd4573db88f\",\"type\":\"SaveTool\"},{\"id\":\"27246a22-c390-4684-a812-05074888b86d\",\"type\":\"ResetTool\"},{\"id\":\"1aca35c3-3a53-4560-8bcb-351fbbc7a404\",\"type\":\"HelpTool\"}]},\"id\":\"9f6850c8-011a-42ce-8767-f75c26d53084\",\"type\":\"Toolbar\"},{\"attributes\":{\"color_mapper\":{\"id\":\"0ddc5ac7-1700-47d2-9fce-1704cdf19a33\",\"type\":\"LinearColorMapper\"},\"dh\":{\"units\":\"data\",\"value\":49},\"dw\":{\"units\":\"data\",\"value\":49},\"image\":{\"field\":\"image\"},\"x\":{\"value\":0},\"y\":{\"value\":0}},\"id\":\"206b8ea4-95c1-47fb-ac61-f61c02cfca5d\",\"type\":\"Image\"},{\"attributes\":{\"bottom_units\":\"screen\",\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"lightgrey\"},\"left_units\":\"screen\",\"level\":\"overlay\",\"line_alpha\":{\"value\":1.0},\"line_color\":{\"value\":\"black\"},\"line_dash\":[4,4],\"line_width\":{\"value\":2},\"plot\":null,\"render_mode\":\"css\",\"right_units\":\"screen\",\"top_units\":\"screen\"},\"id\":\"78f2693f-e980-4a32-971e-5428a164fbfe\",\"type\":\"BoxAnnotation\"},{\"attributes\":{\"formatter\":{\"id\":\"6208a162-64e3-47ca-8899-988e23ba752a\",\"type\":\"BasicTickFormatter\"},\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"0f80439d-e1ed-4908-9469-a825e066bfad\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"97ec3cf0-15ed-4d7d-9577-8e0b5913970d\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"0f80439d-e1ed-4908-9469-a825e066bfad\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"6208a162-64e3-47ca-8899-988e23ba752a\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"27246a22-c390-4684-a812-05074888b86d\",\"type\":\"ResetTool\"},{\"attributes\":{},\"id\":\"d96bbec7-1c3a-408a-83e5-709c19a6cb5b\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"dimension\":1,\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"0f80439d-e1ed-4908-9469-a825e066bfad\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"2e123888-99f0-4c9b-b8b3-72e4ac9584a7\",\"type\":\"Grid\"},{\"attributes\":{\"plot\":null,\"text\":\"\"},\"id\":\"ed9ddfee-8286-4ff3-8ad2-0cb12b65640c\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null,\"end\":49},\"id\":\"33da8045-958d-41ec-99ad-b169967798d3\",\"type\":\"Range1d\"},{\"attributes\":{\"callback\":null,\"column_names\":[\"image\"],\"data\":{\"image\":[[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]]}},\"id\":\"86cc6e78-7c1e-4bf0-a332-c331d950e4b3\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"formatter\":{\"id\":\"d96bbec7-1c3a-408a-83e5-709c19a6cb5b\",\"type\":\"BasicTickFormatter\"},\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"ed1572c7-a698-4d5a-9049-7be7b39273a1\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"29257183-c342-42f0-925c-163295291164\",\"type\":\"LinearAxis\"},{\"attributes\":{\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"f9928394-a69c-4d78-8bbb-02f6824c8c18\",\"type\":\"PanTool\"},{\"attributes\":{\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"683cc5bd-9ed1-4d59-9cc7-b9cb4a1218b2\",\"type\":\"WheelZoomTool\"},{\"attributes\":{\"callback\":null,\"end\":49},\"id\":\"c5cd6677-5360-4007-823c-f32b5317c688\",\"type\":\"Range1d\"},{\"attributes\":{\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"1aca35c3-3a53-4560-8bcb-351fbbc7a404\",\"type\":\"HelpTool\"},{\"attributes\":{\"overlay\":{\"id\":\"78f2693f-e980-4a32-971e-5428a164fbfe\",\"type\":\"BoxAnnotation\"},\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"d8625d8b-1bb1-48a2-ac15-99c3ca2d520d\",\"type\":\"BoxZoomTool\"},{\"attributes\":{\"plot\":{\"id\":\"f268532e-f4a3-4970-bf21-98492589ded3\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"4c74b5c1-f385-47f8-a14f-6fd4573db88f\",\"type\":\"SaveTool\"}],\"root_ids\":[\"f268532e-f4a3-4970-bf21-98492589ded3\"]},\"title\":\"Bokeh Application\",\"version\":\"0.12.5\"}};\n",
       "            var render_items = [{\"docid\":\"e701d1b5-a1f6-4a8d-866d-58fd1f6e50c4\",\"elementid\":\"855f1956-4e27-49a8-993e-497f864e1257\",\"modelid\":\"f268532e-f4a3-4970-bf21-98492589ded3\"}];\n",
       "            \n",
       "            Bokeh.embed.embed_items(docs_json, render_items);\n",
       "          };\n",
       "          if (document.readyState != \"loading\") fn();\n",
       "          else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "        })();\n",
       "      },\n",
       "      function(Bokeh) {\n",
       "      }\n",
       "    ];\n",
       "  \n",
       "    function run_inline_js() {\n",
       "      \n",
       "      if ((window.Bokeh !== undefined) || (force === true)) {\n",
       "        for (var i = 0; i < inline_js.length; i++) {\n",
       "          inline_js[i](window.Bokeh);\n",
       "        }if (force === true) {\n",
       "          display_loaded();\n",
       "        }} else if (Date.now() < window._bokeh_timeout) {\n",
       "        setTimeout(run_inline_js, 100);\n",
       "      } else if (!window._bokeh_failed_load) {\n",
       "        console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n",
       "        window._bokeh_failed_load = true;\n",
       "      } else if (force !== true) {\n",
       "        var cell = $(document.getElementById(\"855f1956-4e27-49a8-993e-497f864e1257\")).parents('.cell').data().cell;\n",
       "        cell.output_area.append_execute_result(NB_LOAD_WARNING)\n",
       "      }\n",
       "  \n",
       "    }\n",
       "  \n",
       "    if (window._bokeh_is_loading === 0) {\n",
       "      console.log(\"Bokeh: BokehJS loaded, going straight to plotting\");\n",
       "      run_inline_js();\n",
       "    } else {\n",
       "      load_libs(js_urls, function() {\n",
       "        console.log(\"Bokeh: BokehJS plotting callback run at\", now());\n",
       "        run_inline_js();\n",
       "      });\n",
       "    }\n",
       "  }(this));\n",
       "</script>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plot(canvas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "n = 100\n",
    "canvas = np.zeros((n, n), dtype=int)\n",
    "\n",
    "for i in range(10):\n",
    "    x = np.random.randint(0, n, 4)\n",
    "    bresenham(*x, i + 1, canvas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "    <div class=\"bk-root\">\n",
       "        <div class=\"bk-plotdiv\" id=\"33c6141b-5802-47ff-94b6-cf3d34920ad8\"></div>\n",
       "    </div>\n",
       "<script type=\"text/javascript\">\n",
       "  \n",
       "  (function(global) {\n",
       "    function now() {\n",
       "      return new Date();\n",
       "    }\n",
       "  \n",
       "    var force = false;\n",
       "  \n",
       "    if (typeof (window._bokeh_onload_callbacks) === \"undefined\" || force === true) {\n",
       "      window._bokeh_onload_callbacks = [];\n",
       "      window._bokeh_is_loading = undefined;\n",
       "    }\n",
       "  \n",
       "  \n",
       "    \n",
       "    if (typeof (window._bokeh_timeout) === \"undefined\" || force === true) {\n",
       "      window._bokeh_timeout = Date.now() + 0;\n",
       "      window._bokeh_failed_load = false;\n",
       "    }\n",
       "  \n",
       "    var NB_LOAD_WARNING = {'data': {'text/html':\n",
       "       \"<div style='background-color: #fdd'>\\n\"+\n",
       "       \"<p>\\n\"+\n",
       "       \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n",
       "       \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n",
       "       \"</p>\\n\"+\n",
       "       \"<ul>\\n\"+\n",
       "       \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n",
       "       \"<li>use INLINE resources instead, as so:</li>\\n\"+\n",
       "       \"</ul>\\n\"+\n",
       "       \"<code>\\n\"+\n",
       "       \"from bokeh.resources import INLINE\\n\"+\n",
       "       \"output_notebook(resources=INLINE)\\n\"+\n",
       "       \"</code>\\n\"+\n",
       "       \"</div>\"}};\n",
       "  \n",
       "    function display_loaded() {\n",
       "      if (window.Bokeh !== undefined) {\n",
       "        var el = document.getElementById(\"33c6141b-5802-47ff-94b6-cf3d34920ad8\");\n",
       "        el.textContent = \"BokehJS \" + Bokeh.version + \" successfully loaded.\";\n",
       "      } else if (Date.now() < window._bokeh_timeout) {\n",
       "        setTimeout(display_loaded, 100)\n",
       "      }\n",
       "    }\n",
       "  \n",
       "    function run_callbacks() {\n",
       "      window._bokeh_onload_callbacks.forEach(function(callback) { callback() });\n",
       "      delete window._bokeh_onload_callbacks\n",
       "      console.info(\"Bokeh: all callbacks have finished\");\n",
       "    }\n",
       "  \n",
       "    function load_libs(js_urls, callback) {\n",
       "      window._bokeh_onload_callbacks.push(callback);\n",
       "      if (window._bokeh_is_loading > 0) {\n",
       "        console.log(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n",
       "        return null;\n",
       "      }\n",
       "      if (js_urls == null || js_urls.length === 0) {\n",
       "        run_callbacks();\n",
       "        return null;\n",
       "      }\n",
       "      console.log(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n",
       "      window._bokeh_is_loading = js_urls.length;\n",
       "      for (var i = 0; i < js_urls.length; i++) {\n",
       "        var url = js_urls[i];\n",
       "        var s = document.createElement('script');\n",
       "        s.src = url;\n",
       "        s.async = false;\n",
       "        s.onreadystatechange = s.onload = function() {\n",
       "          window._bokeh_is_loading--;\n",
       "          if (window._bokeh_is_loading === 0) {\n",
       "            console.log(\"Bokeh: all BokehJS libraries loaded\");\n",
       "            run_callbacks()\n",
       "          }\n",
       "        };\n",
       "        s.onerror = function() {\n",
       "          console.warn(\"failed to load library \" + url);\n",
       "        };\n",
       "        console.log(\"Bokeh: injecting script tag for BokehJS library: \", url);\n",
       "        document.getElementsByTagName(\"head\")[0].appendChild(s);\n",
       "      }\n",
       "    };var element = document.getElementById(\"33c6141b-5802-47ff-94b6-cf3d34920ad8\");\n",
       "    if (element == null) {\n",
       "      console.log(\"Bokeh: ERROR: autoload.js configured with elementid '33c6141b-5802-47ff-94b6-cf3d34920ad8' but no matching script tag was found. \")\n",
       "      return false;\n",
       "    }\n",
       "  \n",
       "    var js_urls = [];\n",
       "  \n",
       "    var inline_js = [\n",
       "      function(Bokeh) {\n",
       "        (function() {\n",
       "          var fn = function() {\n",
       "            var docs_json = {\"1dd65222-d8a3-4c0b-8c54-1f3f87c8d2c5\":{\"roots\":{\"references\":[{\"attributes\":{\"data_source\":{\"id\":\"c647129b-1188-4173-afcb-184edcb0b88f\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"fd9b2fba-890e-45e2-b74c-58a757f81cce\",\"type\":\"Image\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"4a3e21d3-0c61-4153-82b5-4deefc703e28\",\"type\":\"Image\"},\"selection_glyph\":null},\"id\":\"0cb86ac9-f87c-4f74-bc31-8c8e0cc9b84f\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"d373b950-68ca-40cd-ab7f-76b6b4235c48\",\"type\":\"SaveTool\"},{\"attributes\":{\"overlay\":{\"id\":\"cd98c1f3-de49-426c-a9be-f37d000587ff\",\"type\":\"BoxAnnotation\"},\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"15db36f6-fe7d-4d94-8a65-a9c0d58b88c2\",\"type\":\"BoxZoomTool\"},{\"attributes\":{\"palette\":[\"#000000\",\"#8dd3c7\",\"#ffffb3\",\"#bebada\",\"#fb8072\",\"#80b1d3\",\"#fdb462\",\"#b3de69\",\"#fccde5\",\"#d9d9d9\",\"#bc80bd\",\"#ccebc5\",\"#ffed6f\"]},\"id\":\"e5de8dcc-f728-46a8-8fa7-c713f6d55a3c\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"ea9c5222-0aeb-4db6-9e2f-c785b8e0f272\",\"type\":\"WheelZoomTool\"},{\"attributes\":{},\"id\":\"22270d80-019b-44d4-b8cf-d3e3b0eabd99\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"color_mapper\":{\"id\":\"cb19c9a4-cf81-4896-8521-7b3771968f23\",\"type\":\"LinearColorMapper\"},\"dh\":{\"units\":\"data\",\"value\":99},\"dw\":{\"units\":\"data\",\"value\":99},\"image\":{\"field\":\"image\"},\"x\":{\"value\":0},\"y\":{\"value\":0}},\"id\":\"4a3e21d3-0c61-4153-82b5-4deefc703e28\",\"type\":\"Image\"},{\"attributes\":{\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"1d06d910-8191-4b38-9032-313f4fe641d6\",\"type\":\"HelpTool\"},{\"attributes\":{\"palette\":[\"#000000\",\"#8dd3c7\",\"#ffffb3\",\"#bebada\",\"#fb8072\",\"#80b1d3\",\"#fdb462\",\"#b3de69\",\"#fccde5\",\"#d9d9d9\",\"#bc80bd\",\"#ccebc5\",\"#ffed6f\"]},\"id\":\"cb19c9a4-cf81-4896-8521-7b3771968f23\",\"type\":\"LinearColorMapper\"},{\"attributes\":{},\"id\":\"8a21934c-6bd1-490b-8a51-d2d083817d0e\",\"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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]]}},\"id\":\"c647129b-1188-4173-afcb-184edcb0b88f\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"plot\":null,\"text\":\"\"},\"id\":\"2921cd93-b548-46ab-a125-6d50cf10490c\",\"type\":\"Title\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"350b7d76-2d3e-4638-b734-893490ebc924\",\"type\":\"PanTool\"},{\"id\":\"ea9c5222-0aeb-4db6-9e2f-c785b8e0f272\",\"type\":\"WheelZoomTool\"},{\"id\":\"15db36f6-fe7d-4d94-8a65-a9c0d58b88c2\",\"type\":\"BoxZoomTool\"},{\"id\":\"d373b950-68ca-40cd-ab7f-76b6b4235c48\",\"type\":\"SaveTool\"},{\"id\":\"125db1e2-815d-4940-a2f6-c7bd02f459d2\",\"type\":\"ResetTool\"},{\"id\":\"1d06d910-8191-4b38-9032-313f4fe641d6\",\"type\":\"HelpTool\"}]},\"id\":\"a5dcf092-9bb1-48f3-ab17-1f7528d63ed3\",\"type\":\"Toolbar\"},{\"attributes\":{\"below\":[{\"id\":\"9e61207d-4b49-46a1-b592-7e5ca700e22b\",\"type\":\"LinearAxis\"}],\"left\":[{\"id\":\"8fb648ac-0cea-4f0b-b524-7ffa8ba408c1\",\"type\":\"LinearAxis\"}],\"renderers\":[{\"id\":\"9e61207d-4b49-46a1-b592-7e5ca700e22b\",\"type\":\"LinearAxis\"},{\"id\":\"666e9b55-7493-4c05-bf7b-d16b01ad65b5\",\"type\":\"Grid\"},{\"id\":\"8fb648ac-0cea-4f0b-b524-7ffa8ba408c1\",\"type\":\"LinearAxis\"},{\"id\":\"27e4f671-c8df-4521-819f-4d8d25d0b9f3\",\"type\":\"Grid\"},{\"id\":\"cd98c1f3-de49-426c-a9be-f37d000587ff\",\"type\":\"BoxAnnotation\"},{\"id\":\"0cb86ac9-f87c-4f74-bc31-8c8e0cc9b84f\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2921cd93-b548-46ab-a125-6d50cf10490c\",\"type\":\"Title\"},\"tool_events\":{\"id\":\"4282208c-1f8c-4592-a2fc-cf3c1fde8236\",\"type\":\"ToolEvents\"},\"toolbar\":{\"id\":\"a5dcf092-9bb1-48f3-ab17-1f7528d63ed3\",\"type\":\"Toolbar\"},\"x_range\":{\"id\":\"1093eeec-a72f-42ad-a988-785ba59548a0\",\"type\":\"Range1d\"},\"y_range\":{\"id\":\"4f3c5e55-2bf5-45b3-8107-05966497e35a\",\"type\":\"Range1d\"}},\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"4282208c-1f8c-4592-a2fc-cf3c1fde8236\",\"type\":\"ToolEvents\"},{\"attributes\":{\"bottom_units\":\"screen\",\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"lightgrey\"},\"left_units\":\"screen\",\"level\":\"overlay\",\"line_alpha\":{\"value\":1.0},\"line_color\":{\"value\":\"black\"},\"line_dash\":[4,4],\"line_width\":{\"value\":2},\"plot\":null,\"render_mode\":\"css\",\"right_units\":\"screen\",\"top_units\":\"screen\"},\"id\":\"cd98c1f3-de49-426c-a9be-f37d000587ff\",\"type\":\"BoxAnnotation\"},{\"attributes\":{\"callback\":null,\"end\":99},\"id\":\"1093eeec-a72f-42ad-a988-785ba59548a0\",\"type\":\"Range1d\"},{\"attributes\":{\"formatter\":{\"id\":\"8a21934c-6bd1-490b-8a51-d2d083817d0e\",\"type\":\"BasicTickFormatter\"},\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"d934d7c1-2c49-44ef-9e66-ec24e4d864a7\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"9e61207d-4b49-46a1-b592-7e5ca700e22b\",\"type\":\"LinearAxis\"},{\"attributes\":{\"color_mapper\":{\"id\":\"e5de8dcc-f728-46a8-8fa7-c713f6d55a3c\",\"type\":\"LinearColorMapper\"},\"dh\":{\"units\":\"data\",\"value\":99},\"dw\":{\"units\":\"data\",\"value\":99},\"image\":{\"field\":\"image\"},\"x\":{\"value\":0},\"y\":{\"value\":0}},\"id\":\"fd9b2fba-890e-45e2-b74c-58a757f81cce\",\"type\":\"Image\"},{\"attributes\":{\"callback\":null,\"end\":99},\"id\":\"4f3c5e55-2bf5-45b3-8107-05966497e35a\",\"type\":\"Range1d\"},{\"attributes\":{\"formatter\":{\"id\":\"22270d80-019b-44d4-b8cf-d3e3b0eabd99\",\"type\":\"BasicTickFormatter\"},\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"1338f2ee-a5be-4dd6-804d-020e6cfa9277\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"8fb648ac-0cea-4f0b-b524-7ffa8ba408c1\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"d934d7c1-2c49-44ef-9e66-ec24e4d864a7\",\"type\":\"BasicTicker\"},{\"attributes\":{\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"125db1e2-815d-4940-a2f6-c7bd02f459d2\",\"type\":\"ResetTool\"},{\"attributes\":{\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"d934d7c1-2c49-44ef-9e66-ec24e4d864a7\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"666e9b55-7493-4c05-bf7b-d16b01ad65b5\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1338f2ee-a5be-4dd6-804d-020e6cfa9277\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"1338f2ee-a5be-4dd6-804d-020e6cfa9277\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"27e4f671-c8df-4521-819f-4d8d25d0b9f3\",\"type\":\"Grid\"},{\"attributes\":{\"plot\":{\"id\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"350b7d76-2d3e-4638-b734-893490ebc924\",\"type\":\"PanTool\"}],\"root_ids\":[\"8fe310ad-d118-4fa0-9532-de3dc097d29e\"]},\"title\":\"Bokeh Application\",\"version\":\"0.12.5\"}};\n",
       "            var render_items = [{\"docid\":\"1dd65222-d8a3-4c0b-8c54-1f3f87c8d2c5\",\"elementid\":\"33c6141b-5802-47ff-94b6-cf3d34920ad8\",\"modelid\":\"8fe310ad-d118-4fa0-9532-de3dc097d29e\"}];\n",
       "            \n",
       "            Bokeh.embed.embed_items(docs_json, render_items);\n",
       "          };\n",
       "          if (document.readyState != \"loading\") fn();\n",
       "          else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "        })();\n",
       "      },\n",
       "      function(Bokeh) {\n",
       "      }\n",
       "    ];\n",
       "  \n",
       "    function run_inline_js() {\n",
       "      \n",
       "      if ((window.Bokeh !== undefined) || (force === true)) {\n",
       "        for (var i = 0; i < inline_js.length; i++) {\n",
       "          inline_js[i](window.Bokeh);\n",
       "        }if (force === true) {\n",
       "          display_loaded();\n",
       "        }} else if (Date.now() < window._bokeh_timeout) {\n",
       "        setTimeout(run_inline_js, 100);\n",
       "      } else if (!window._bokeh_failed_load) {\n",
       "        console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n",
       "        window._bokeh_failed_load = true;\n",
       "      } else if (force !== true) {\n",
       "        var cell = $(document.getElementById(\"33c6141b-5802-47ff-94b6-cf3d34920ad8\")).parents('.cell').data().cell;\n",
       "        cell.output_area.append_execute_result(NB_LOAD_WARNING)\n",
       "      }\n",
       "  \n",
       "    }\n",
       "  \n",
       "    if (window._bokeh_is_loading === 0) {\n",
       "      console.log(\"Bokeh: BokehJS loaded, going straight to plotting\");\n",
       "      run_inline_js();\n",
       "    } else {\n",
       "      load_libs(js_urls, function() {\n",
       "        console.log(\"Bokeh: BokehJS plotting callback run at\", now());\n",
       "        run_inline_js();\n",
       "      });\n",
       "    }\n",
       "  }(this));\n",
       "</script>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plot(canvas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "n = 200\n",
    "canvas = np.zeros((n, n), dtype=int)\n",
    "\n",
    "for i in range(n):\n",
    "    bresenham(0, 0, i, n - 1, i % 10 + 1, canvas)\n",
    "    bresenham(0, 0, n - 1, i, i % 10 + 1, canvas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "    <div class=\"bk-root\">\n",
       "        <div class=\"bk-plotdiv\" id=\"d5a09884-1f7f-4260-a5df-709341a344c3\"></div>\n",
       "    </div>\n",
       "<script type=\"text/javascript\">\n",
       "  \n",
       "  (function(global) {\n",
       "    function now() {\n",
       "      return new Date();\n",
       "    }\n",
       "  \n",
       "    var force = false;\n",
       "  \n",
       "    if (typeof (window._bokeh_onload_callbacks) === \"undefined\" || force === true) {\n",
       "      window._bokeh_onload_callbacks = [];\n",
       "      window._bokeh_is_loading = undefined;\n",
       "    }\n",
       "  \n",
       "  \n",
       "    \n",
       "    if (typeof (window._bokeh_timeout) === \"undefined\" || force === true) {\n",
       "      window._bokeh_timeout = Date.now() + 0;\n",
       "      window._bokeh_failed_load = false;\n",
       "    }\n",
       "  \n",
       "    var NB_LOAD_WARNING = {'data': {'text/html':\n",
       "       \"<div style='background-color: #fdd'>\\n\"+\n",
       "       \"<p>\\n\"+\n",
       "       \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n",
       "       \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n",
       "       \"</p>\\n\"+\n",
       "       \"<ul>\\n\"+\n",
       "       \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n",
       "       \"<li>use INLINE resources instead, as so:</li>\\n\"+\n",
       "       \"</ul>\\n\"+\n",
       "       \"<code>\\n\"+\n",
       "       \"from bokeh.resources import INLINE\\n\"+\n",
       "       \"output_notebook(resources=INLINE)\\n\"+\n",
       "       \"</code>\\n\"+\n",
       "       \"</div>\"}};\n",
       "  \n",
       "    function display_loaded() {\n",
       "      if (window.Bokeh !== undefined) {\n",
       "        var el = document.getElementById(\"d5a09884-1f7f-4260-a5df-709341a344c3\");\n",
       "        el.textContent = \"BokehJS \" + Bokeh.version + \" successfully loaded.\";\n",
       "      } else if (Date.now() < window._bokeh_timeout) {\n",
       "        setTimeout(display_loaded, 100)\n",
       "      }\n",
       "    }\n",
       "  \n",
       "    function run_callbacks() {\n",
       "      window._bokeh_onload_callbacks.forEach(function(callback) { callback() });\n",
       "      delete window._bokeh_onload_callbacks\n",
       "      console.info(\"Bokeh: all callbacks have finished\");\n",
       "    }\n",
       "  \n",
       "    function load_libs(js_urls, callback) {\n",
       "      window._bokeh_onload_callbacks.push(callback);\n",
       "      if (window._bokeh_is_loading > 0) {\n",
       "        console.log(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n",
       "        return null;\n",
       "      }\n",
       "      if (js_urls == null || js_urls.length === 0) {\n",
       "        run_callbacks();\n",
       "        return null;\n",
       "      }\n",
       "      console.log(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n",
       "      window._bokeh_is_loading = js_urls.length;\n",
       "      for (var i = 0; i < js_urls.length; i++) {\n",
       "        var url = js_urls[i];\n",
       "        var s = document.createElement('script');\n",
       "        s.src = url;\n",
       "        s.async = false;\n",
       "        s.onreadystatechange = s.onload = function() {\n",
       "          window._bokeh_is_loading--;\n",
       "          if (window._bokeh_is_loading === 0) {\n",
       "            console.log(\"Bokeh: all BokehJS libraries loaded\");\n",
       "            run_callbacks()\n",
       "          }\n",
       "        };\n",
       "        s.onerror = function() {\n",
       "          console.warn(\"failed to load library \" + url);\n",
       "        };\n",
       "        console.log(\"Bokeh: injecting script tag for BokehJS library: \", url);\n",
       "        document.getElementsByTagName(\"head\")[0].appendChild(s);\n",
       "      }\n",
       "    };var element = document.getElementById(\"d5a09884-1f7f-4260-a5df-709341a344c3\");\n",
       "    if (element == null) {\n",
       "      console.log(\"Bokeh: ERROR: autoload.js configured with elementid 'd5a09884-1f7f-4260-a5df-709341a344c3' but no matching script tag was found. \")\n",
       "      return false;\n",
       "    }\n",
       "  \n",
       "    var js_urls = [];\n",
       "  \n",
       "    var inline_js = [\n",
       "      function(Bokeh) {\n",
       "        (function() {\n",
       "          var fn = function() {\n",
       "            var docs_json = {\"c6bebfb2-a7ea-49b1-9c99-c5657800b730\":{\"roots\":{\"references\":[{\"attributes\":{\"overlay\":{\"id\":\"29ff3a62-2800-4a87-bc21-ad7525006629\",\"type\":\"BoxAnnotation\"},\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"bfbee732-2ade-4227-84fe-67150c6c4678\",\"type\":\"BoxZoomTool\"},{\"attributes\":{\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"792231bf-44d9-4bd6-a3b9-af5cbce7b301\",\"type\":\"WheelZoomTool\"},{\"attributes\":{\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"1a3e5670-0a7d-4770-9318-4492583f8938\",\"type\":\"PanTool\"},{\"attributes\":{},\"id\":\"14d501da-9ba9-46cd-9259-dce3e25990ba\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"bottom_units\":\"screen\",\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"lightgrey\"},\"left_units\":\"screen\",\"level\":\"overlay\",\"line_alpha\":{\"value\":1.0},\"line_color\":{\"value\":\"black\"},\"line_dash\":[4,4],\"line_width\":{\"value\":2},\"plot\":null,\"render_mode\":\"css\",\"right_units\":\"screen\",\"top_units\":\"screen\"},\"id\":\"29ff3a62-2800-4a87-bc21-ad7525006629\",\"type\":\"BoxAnnotation\"},{\"attributes\":{\"callback\":null,\"column_names\":[\"image\"],\"data\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,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10]]]}},\"id\":\"ccaf8d55-ca44-47bf-a603-50509c2c788a\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"palette\":[\"#000000\",\"#8dd3c7\",\"#ffffb3\",\"#bebada\",\"#fb8072\",\"#80b1d3\",\"#fdb462\",\"#b3de69\",\"#fccde5\",\"#d9d9d9\",\"#bc80bd\",\"#ccebc5\",\"#ffed6f\"]},\"id\":\"d4de0216-a50b-4efd-9b42-d3725128ed21\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"color_mapper\":{\"id\":\"53fb4b81-f3a5-4401-a4f5-fed2b5dc8ad9\",\"type\":\"LinearColorMapper\"},\"dh\":{\"units\":\"data\",\"value\":199},\"dw\":{\"units\":\"data\",\"value\":199},\"image\":{\"field\":\"image\"},\"x\":{\"value\":0},\"y\":{\"value\":0}},\"id\":\"348cc1de-c929-41b6-aa6e-a56957b4e726\",\"type\":\"Image\"},{\"attributes\":{\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"ba639a18-921f-4b3f-a6cf-a713bd40336b\",\"type\":\"ResetTool\"},{\"attributes\":{\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"06d6fc81-1b48-4762-84b1-11861e3536e2\",\"type\":\"SaveTool\"},{\"attributes\":{\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"}},\"id\":\"a4b9981c-2422-46bb-8e64-226cf51ae309\",\"type\":\"HelpTool\"},{\"attributes\":{},\"id\":\"15aa0e0e-2543-471f-980b-66a7f35b3351\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"color_mapper\":{\"id\":\"d4de0216-a50b-4efd-9b42-d3725128ed21\",\"type\":\"LinearColorMapper\"},\"dh\":{\"units\":\"data\",\"value\":199},\"dw\":{\"units\":\"data\",\"value\":199},\"image\":{\"field\":\"image\"},\"x\":{\"value\":0},\"y\":{\"value\":0}},\"id\":\"34811b1f-cb8a-4c69-bb1f-0ac341803761\",\"type\":\"Image\"},{\"attributes\":{},\"id\":\"4a476438-d4a0-4bca-a43f-3c872d39907b\",\"type\":\"ToolEvents\"},{\"attributes\":{\"palette\":[\"#000000\",\"#8dd3c7\",\"#ffffb3\",\"#bebada\",\"#fb8072\",\"#80b1d3\",\"#fdb462\",\"#b3de69\",\"#fccde5\",\"#d9d9d9\",\"#bc80bd\",\"#ccebc5\",\"#ffed6f\"]},\"id\":\"53fb4b81-f3a5-4401-a4f5-fed2b5dc8ad9\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"below\":[{\"id\":\"0c959248-0bb6-41f8-9aa2-a9fbfc305464\",\"type\":\"LinearAxis\"}],\"left\":[{\"id\":\"71626c1c-f9e9-47e9-b2d5-246c9b70468e\",\"type\":\"LinearAxis\"}],\"renderers\":[{\"id\":\"0c959248-0bb6-41f8-9aa2-a9fbfc305464\",\"type\":\"LinearAxis\"},{\"id\":\"e219c480-7eac-4acf-80b0-2291253c2a18\",\"type\":\"Grid\"},{\"id\":\"71626c1c-f9e9-47e9-b2d5-246c9b70468e\",\"type\":\"LinearAxis\"},{\"id\":\"789fec3a-a431-4aa5-b12c-fa18afa24d81\",\"type\":\"Grid\"},{\"id\":\"29ff3a62-2800-4a87-bc21-ad7525006629\",\"type\":\"BoxAnnotation\"},{\"id\":\"19b5264f-46c1-465b-8853-5aaa8b7d95b3\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"f9cdb7d2-a258-44fe-89ae-1a9c8534b4a4\",\"type\":\"Title\"},\"tool_events\":{\"id\":\"4a476438-d4a0-4bca-a43f-3c872d39907b\",\"type\":\"ToolEvents\"},\"toolbar\":{\"id\":\"5bff0d61-92a2-4b08-8b31-128495545f19\",\"type\":\"Toolbar\"},\"x_range\":{\"id\":\"c56d64fc-a7af-4f1f-b689-e879870561ea\",\"type\":\"Range1d\"},\"y_range\":{\"id\":\"c1cdf52e-ee11-46ba-9186-d228b462dce2\",\"type\":\"Range1d\"}},\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"dimension\":1,\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"23a76fab-ed1c-4e9e-abd6-8453eca4c5ee\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"789fec3a-a431-4aa5-b12c-fa18afa24d81\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"23a76fab-ed1c-4e9e-abd6-8453eca4c5ee\",\"type\":\"BasicTicker\"},{\"attributes\":{\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"f9929c19-55e3-459d-92dc-d574bc906f39\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"e219c480-7eac-4acf-80b0-2291253c2a18\",\"type\":\"Grid\"},{\"attributes\":{\"formatter\":{\"id\":\"15aa0e0e-2543-471f-980b-66a7f35b3351\",\"type\":\"BasicTickFormatter\"},\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"23a76fab-ed1c-4e9e-abd6-8453eca4c5ee\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"71626c1c-f9e9-47e9-b2d5-246c9b70468e\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"f9929c19-55e3-459d-92dc-d574bc906f39\",\"type\":\"BasicTicker\"},{\"attributes\":{\"formatter\":{\"id\":\"14d501da-9ba9-46cd-9259-dce3e25990ba\",\"type\":\"BasicTickFormatter\"},\"plot\":{\"id\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"ticker\":{\"id\":\"f9929c19-55e3-459d-92dc-d574bc906f39\",\"type\":\"BasicTicker\"},\"visible\":false},\"id\":\"0c959248-0bb6-41f8-9aa2-a9fbfc305464\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null,\"end\":199},\"id\":\"c1cdf52e-ee11-46ba-9186-d228b462dce2\",\"type\":\"Range1d\"},{\"attributes\":{\"callback\":null,\"end\":199},\"id\":\"c56d64fc-a7af-4f1f-b689-e879870561ea\",\"type\":\"Range1d\"},{\"attributes\":{\"data_source\":{\"id\":\"ccaf8d55-ca44-47bf-a603-50509c2c788a\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"34811b1f-cb8a-4c69-bb1f-0ac341803761\",\"type\":\"Image\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"348cc1de-c929-41b6-aa6e-a56957b4e726\",\"type\":\"Image\"},\"selection_glyph\":null},\"id\":\"19b5264f-46c1-465b-8853-5aaa8b7d95b3\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"plot\":null,\"text\":\"\"},\"id\":\"f9cdb7d2-a258-44fe-89ae-1a9c8534b4a4\",\"type\":\"Title\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1a3e5670-0a7d-4770-9318-4492583f8938\",\"type\":\"PanTool\"},{\"id\":\"792231bf-44d9-4bd6-a3b9-af5cbce7b301\",\"type\":\"WheelZoomTool\"},{\"id\":\"bfbee732-2ade-4227-84fe-67150c6c4678\",\"type\":\"BoxZoomTool\"},{\"id\":\"06d6fc81-1b48-4762-84b1-11861e3536e2\",\"type\":\"SaveTool\"},{\"id\":\"ba639a18-921f-4b3f-a6cf-a713bd40336b\",\"type\":\"ResetTool\"},{\"id\":\"a4b9981c-2422-46bb-8e64-226cf51ae309\",\"type\":\"HelpTool\"}]},\"id\":\"5bff0d61-92a2-4b08-8b31-128495545f19\",\"type\":\"Toolbar\"}],\"root_ids\":[\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\"]},\"title\":\"Bokeh Application\",\"version\":\"0.12.5\"}};\n",
       "            var render_items = [{\"docid\":\"c6bebfb2-a7ea-49b1-9c99-c5657800b730\",\"elementid\":\"d5a09884-1f7f-4260-a5df-709341a344c3\",\"modelid\":\"3e5c6f24-1ead-4a06-abf8-9f3836e9deeb\"}];\n",
       "            \n",
       "            Bokeh.embed.embed_items(docs_json, render_items);\n",
       "          };\n",
       "          if (document.readyState != \"loading\") fn();\n",
       "          else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "        })();\n",
       "      },\n",
       "      function(Bokeh) {\n",
       "      }\n",
       "    ];\n",
       "  \n",
       "    function run_inline_js() {\n",
       "      \n",
       "      if ((window.Bokeh !== undefined) || (force === true)) {\n",
       "        for (var i = 0; i < inline_js.length; i++) {\n",
       "          inline_js[i](window.Bokeh);\n",
       "        }if (force === true) {\n",
       "          display_loaded();\n",
       "        }} else if (Date.now() < window._bokeh_timeout) {\n",
       "        setTimeout(run_inline_js, 100);\n",
       "      } else if (!window._bokeh_failed_load) {\n",
       "        console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n",
       "        window._bokeh_failed_load = true;\n",
       "      } else if (force !== true) {\n",
       "        var cell = $(document.getElementById(\"d5a09884-1f7f-4260-a5df-709341a344c3\")).parents('.cell').data().cell;\n",
       "        cell.output_area.append_execute_result(NB_LOAD_WARNING)\n",
       "      }\n",
       "  \n",
       "    }\n",
       "  \n",
       "    if (window._bokeh_is_loading === 0) {\n",
       "      console.log(\"Bokeh: BokehJS loaded, going straight to plotting\");\n",
       "      run_inline_js();\n",
       "    } else {\n",
       "      load_libs(js_urls, function() {\n",
       "        console.log(\"Bokeh: BokehJS plotting callback run at\", now());\n",
       "        run_inline_js();\n",
       "      });\n",
       "    }\n",
       "  }(this));\n",
       "</script>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plot(canvas)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
